import EmailUtils from '../models/EmailUtils';
import IdCardUtils from '../models/IdCardUtils';
import PhoneUtils from '../models/PhoneUtils';
import StringUtils from '../models/StringUtils';
import ArrayUtils from '../models/ArrayUtils';
import DateUtils from '../models/DateUtils';
import ElementaryArithmeticUtils from '../models/ElementaryArithmeticUtils';
import RegexUtils from '../models/RegexUtils';
import UrlUtils from '../models/UrlUtils';

const install = function(Vue, options) {
    Vue.$IdCardUtils = Vue.prototype.$IdCardUtils = IdCardUtils;
    Vue.$EmailUtils = Vue.prototype.$EmailUtils = EmailUtils;
    Vue.$PhoneUtils = Vue.prototype.$PhoneUtils = PhoneUtils;
    Vue.$StringUtils = Vue.prototype.$StringUtils = StringUtils;
    Vue.$ArrayUtils = Vue.prototype.$ArrayUtils = ArrayUtils;
    Vue.$DateUtils = Vue.prototype.$DateUtils = DateUtils;
    Vue.$ElementaryArithmeticUtils = Vue.prototype.$ElementaryArithmeticUtils = ElementaryArithmeticUtils;
    Vue.$RegexUtils = Vue.prototype.$RegexUtils = RegexUtils;
    Vue.$UrlUtils = Vue.prototype.$UrlUtils = UrlUtils;
}

export default {
    install
}